// Copyright (c) Microsoft Corporation.  All rights reserved.

#include "stdafx.h"
#include "D3D11ShaderResourceView.h"

using namespace Microsoft::WindowsAPICodePack::DirectX::Direct3D11;

ShaderResourceViewDescription^ ShaderResourceView::GetDescription()
{
    ShaderResourceViewDescription^ desc = gcnew ShaderResourceViewDescription();
    GetInterface<ID3D11ShaderResourceView>()->GetDesc(desc->nativeObject.Get());

    return desc;
}

